﻿#version 330 core
in vec3 pos;
in vec2 tex;

out vec2 fragTex;

uniform mat4 model;
uniform mat4 view;
uniform mat4 projection;

void main()
{
    fragTex=tex;
    gl_Position=projection*view*model* vec4(pos,1.0);
}